package com.sportschain.app.mine.activity;

import android.support.v7.widget.RecyclerView;

import com.sportschain.app.R;
import com.sportschain.app.core.base.BaseActivity;
import com.sportschain.app.mine.adapter.FollowAdapter;
import com.sportschain.app.mine.bean.FollowBean;

import java.util.ArrayList;
import java.util.List;

import butterknife.BindView;

public class FollowActivity extends BaseActivity {


    @BindView(R.id.follow_rv)
    RecyclerView mFollowRv;

    private FollowAdapter mAdapter;

    @Override
    public int getLayoutId() {
        return R.layout.activity_follow;
    }

    @Override
    public void initView() {
        mAdapter = new FollowAdapter();
        mAdapter.bindToRecyclerView(mFollowRv);
        mAdapter.setEmptyView(R.layout.empty_view_layout);
    }

    @Override
    public void initData() {
        List<FollowBean> data = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            data.add(new FollowBean());
        }
        mAdapter.setNewData(data);
    }

    @Override
    public void initListener() {

    }
}
